return Clutter.EVENT_PROPAGATE;
[this._lastX, this._lastY] = event.get_coords();
+ this._lastX = Math.floor(this._lastX);
+ this._lastY = Math.floor(this._lastY);
let geometry = this._getGeometry();
this._rubberband.set_position(geometry.x, geometry.y);
_onButtonPress: function(actor, event) {
[this._startX, this._startY] = event.get_coords();
+ this._startX = Math.floor(this._startX);
+ this._startY = Math.floor(this._startY);
this._rubberband.set_position(this._startX, this._startY);
return Clutter.EVENT_PROPAGATE;